package cn.tydy.service.role;


import cn.tydy.dao.role.RoleMapper;
import cn.tydy.pojo.Role;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("RoleService")
public class RoleServiceImpl implements RoleService{
	@Resource(name = "roleMapper")

	private RoleMapper roleMapper;


	@Override
	public List<Role> getRoleList() {
		return roleMapper.getRoleList();
	}
}
